﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Forest.Cat.Domain.Entities;
using Forest.Core;
using Forest.Cat.Domain.Shared;

namespace Forest.Cat.Domain.Services.WantAds {
    public partial interface IWantAdService {
        void DeleteWantAd(WantAd wantad);

        WantAd GetWantAdById(Guid wantadId);

        IPagedList<WantAd> GetAllWantAds(int pageIndex, int pageSize);

        void InsertWantAd(WantAd wantad);

        void UpdateWantAd(WantAd wantad);

        IQueryable<WantAd> GetHomeWantAds(WantAdAreaCode areaCode);
    }
}
